package wechat.rcv.controller;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
@SuppressWarnings("all")
public class AssignmentList {
  private final static Logger logger = Logger.getLogger(AssignmentList.class.getName());
  
  @RequestMapping("/assignmentlist")
  public String process(@RequestParam(value = "workorderId", defaultValue = "") final Long workorderId, final Model model) {
    String _xblockexpression = null;
    {
      AssignmentList.logger.info("=========>AssignmentList.processs<============");
      String hpage = "error";
      AssignmentList.logger.info(("=========>AssignmentList.workorderId<============" + workorderId));
      model.addAttribute("workorderId", workorderId);
      _xblockexpression = hpage = "myassignment";
    }
    return _xblockexpression;
  }
}
